package com.framework.buss.bridge.service;


import com.framework.buss.bridge.model.BridgeTemplate;
import com.framework.buss.bridge.vo.BridgeTemplateVO;
import com.framework.common.domain.ResultData;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface IBridgeTemplateService {
    List<BridgeTemplateVO> listAll(BridgeTemplate bridgeTemplate);

    void save(BridgeTemplate bridgeTemplate);

    void updateById(BridgeTemplate bridgeTemplate);

    void removeById(String id);

    ResultData<?> importSetting(HttpServletRequest request, HttpServletResponse response);

    BridgeTemplate getById(String id);

    void saveAll(List<BridgeTemplateVO> list, String bridgeId, String filePath);
}
